home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / spchauto / data1.cab / Samples / Visual_C++ / SpellCheckerOCX / SpellCheckerDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-07-16  |  1.7 KB  |  62 lines

  1. // SpellCheckerDlg.h : header file
  2. //
  3. //{{AFX_INCLUDES()
  4. #include "spellchecker1.h"
  5. //}}AFX_INCLUDES
  6.  
  7. #if !defined(AFX_SPELLCHECKERDLG_H__772667A8_101C_11D2_BB0C_444553540000__INCLUDED_)
  8. #define AFX_SPELLCHECKERDLG_H__772667A8_101C_11D2_BB0C_444553540000__INCLUDED_
  9.  
  10. #if _MSC_VER >= 1000
  11. #pragma once
  12. #endif // _MSC_VER >= 1000
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSpellCheckerDlg dialog
  16.  
  17. class CSpellCheckerDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CSpellCheckerDlg(CWnd* pParent = NULL);    // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CSpellCheckerDlg)
  25.     enum { IDD = IDD_SPELLCHECKER_DIALOG };
  26.     CListBox    m_listbox;
  27.     CSpellChecker    m_SpellChecker;
  28.     CString    m_edit;
  29.     CString    m_static;
  30.     //}}AFX_DATA
  31.  
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CSpellCheckerDlg)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.     HICON m_hIcon;
  41.    BOOL FileExists( LPCSTR lszFile ); 
  42.  
  43.     // Generated message map functions
  44.     //{{AFX_MSG(CSpellCheckerDlg)
  45.     virtual BOOL OnInitDialog();
  46.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  47.     afx_msg void OnPaint();
  48.     afx_msg HCURSOR OnQueryDragIcon();
  49.     afx_msg void OnButton1();
  50.     afx_msg void OnButton2();
  51.     afx_msg void OnButton3();
  52.     afx_msg void OnButton4();
  53.     afx_msg void OnButton5();
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56. };
  57.  
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  60.  
  61. #endif // !defined(AFX_SPELLCHECKERDLG_H__772667A8_101C_11D2_BB0C_444553540000__INCLUDED_)
  62.